package com.andromix;

import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.KeyEvent;
import android.widget.TextView;

public class GoodbyeActivity extends Activity {
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		//TextView tv = new TextView(this);
		//tv.setText("Fermeture de l'application Andromix");
		//setContentView(tv);


		AlertDialog.Builder adb2 = new AlertDialog.Builder(GoodbyeActivity.this);
		adb2.setTitle("Erreur AndroMix");

		adb2.setMessage("Fermeture de l'application Andromix");
		adb2.setPositiveButton("OK", new DialogInterface.OnClickListener() {
			public void onClick(DialogInterface dialog, int which) {
				finish();
			}
		} );

		adb2.show();
	}


}
